package com.hzsoft.sys.service;

import java.util.List;
import java.util.Map;

import com.hzsoft.sys.entity.SysDic;
import com.hzsoft.sys.entity.SysDicKey;

public interface SysDicService {
    int deleteByPrimaryKey(SysDicKey key);

    int insert(SysDic record);

    int insertSelective(SysDic record);

    SysDic selectByPrimaryKey(SysDicKey key);

    int updateByPrimaryKeySelective(SysDic record);

    int updateByPrimaryKey(SysDic record);

	List<SysDic> listPageByDicName(Map<String, Object> map);

	SysDic getDicByCodeOrName(SysDic rec);

	SysDic getCodeAndName(String dicCode);

	List<SysDic> listPageForDic(Map map);

	String getItemNameByValue(Map mm);

	public int deleteAll(SysDic result);

	List<SysDic> selectLowerLevel(SysDic dic);
}